﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using FluentNHibernate.Mapping;
using FluentNHibernate;

namespace Mindfor.Web.Data.Mappings
{
	public class LogMap : ClassMap<Log>
	{
		public LogMap()
		{
			Table("Logs");
			Id(m => m.Id);
			Map(m => m.LogType);
			Map(m => m.Date);
			Map(m => m.ShortText).Length(255).Not.Nullable();
			Map(m => m.Description);
		}
	}
}
